package cn.yh.nft.turbo.api.collection.model;

import cn.yh.nft.turbo.api.goods.model.BaseGoodsInventoryVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @ClassName: CollectionInventoryVO
 * @Author: 草莓爱上啵啵
 */
@Getter
@Setter
@ToString
public class CollectionInventoryVO extends BaseGoodsInventoryVO {

    /**
     * 可售库存
     */
    private Long saleableInventory;

    /**
     * 已占库存
     */
    private Long occupiedInventory;

    /**
     * 藏品数量
     */
    private Long quantity;


    @Override
    public Long getInventory() {
        return saleableInventory;
    }

    @Override
    public Long getQuantity() {
        return quantity;
    }
}
